/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.gitee.minimalismstyle.fresh.flowable.api.feign.model

import java.io.Serializable

/**
 * ProcessDefinitionResponse
 * @author maoxiaodong
 */
class ProcessDefinitionResponse : Serializable {

    /**
     *
     * example: oneTaskProcess:1:4
     */
    var id: String? = null

    /**
     *
     * example: http://localhost:8182/repository/process-definitions/oneTaskProcess%3A1%3A4
     */
    var url: String? = null

    /**
     *
     * example: oneTaskProcess
     */
    var key: String? = null

    /**
     *
     * example: 1
     */
    var version: Int? = null

    /**
     *
     * example: The One Task Process
     */
    var name: String? = null

    /**
     *
     * example: This is a process for testing purposes
     */
    var description: String? = null

    /**
     *
     * example: null
     */
    var tenantId: String? = null

    /**
     *
     * example: 2
     */
    var deploymentId: String? = null

    /**
     *
     * example: http://localhost:8081/repository/deployments/2
     */
    var deploymentUrl: String? = null

    /**
     * Contains the actual deployed BPMN 2.0 xml.
     * example: http://localhost:8182/repository/deployments/2/resources/testProcess.xml
     */
    var resource: String? = null

    /**
     * Contains a graphical representation of the process, null when no diagram is available.
     * example: http://localhost:8182/repository/deployments/2/resources/testProcess.png
     */
    var diagramResource: String? = null

    /**
     *
     * example: Examples
     */
    var category: String? = null

    /**
     * Indicates the process definition contains graphical information (BPMN DI).
     * example:
     */
    var graphicalNotationDefined: Boolean? = null

    /**
     *
     * example:
     */
    var suspended: Boolean? = null

    /**
     *
     * example:
     */
    var startFormDefined: Boolean? = null
}